package com.weihong.demo.evn;

import java.time.format.DateTimeFormatter;

public class Config {
    public static String opendIP = "127.0.0.1";
    public static int opendPort = 11111;
    public static DateTimeFormatter futuTime = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
    public static DateTimeFormatter futuOrderTime = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS");

    public static void sleepsec(int sec) {
        try {
            Thread.sleep(1000 * sec);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
